package me.zhengjie.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wcs_fluent_frame_config")
public class WcsFluentFrameConfig {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("unit_id")
    private Integer unit_id;

    //区域(A或B)
    @TableField("region")
    private String region;

    //气缸地址位1：对接上层  2：水平位置  3：对接下层
    @TableField("cylinder")
    private Integer cylinder;

    //出库第一段地址位
    @TableField("outbound_one_address")
    private Integer outboundOneAddress;

    //出库第二段地址位
    @TableField("outbound_two_address")
    private Integer outboundTwoAddress;

    //出库第三段地址位
    @TableField("outbound_three_address")
    private Integer outboundThreeAddress;

    //分拣地址位
    @TableField("sorting_address")
    private Integer sortingAddress;

    //入库第一段地址位
    @TableField("inbound_one_address")
    private Integer inboundOneAddress;

    //入库第二段地址位
    @TableField("inbound_two_address")
    private Integer inboundTwoAddress;

    //入库第三段地址位
    @TableField("inbound_three_address")
    private Integer inboundThreeAddress;

    //储位区域（工位）
    @TableField("storage_region")
    private String storageRegion;

    //储位编码
    @TableField("storage_code")
    private String storageCode;

    //分拣读码信息地址位
    @TableField("sorting_read_address")
    private Integer sortingReadAddress;

    //分拣完成告诉TCP地址位
    @TableField("sorting_result_address")
    private Integer sortingResultAddress;

    //出库储位数量地址位
    @TableField("outbound_storage_size_address")
    private Integer outboundStorageSizeAddress;

    //0空箱模式，1正常入库
    @TableField("mode")
    private Integer mode;

    //分拣区容器编码
    @TableField("sorting_container_code")
    private String sortingContainerCode;

    //气缸控制地址位 1：整箱出库,2：分检出库
    @TableField("cylinder_control_address")
    private Integer cylinderControlAddress;

    //单层或双层流利架，1单2双
    @TableField("single_or_double")
    private Integer singleOrDouble;

    //流利架出库数量 单层流利架记录的是AGV出库空箱的数量
    @TableField("size")
    private Integer size;

    //入库第三段读码地址位
    @TableField("three_read_address")
    private Integer threeReadAddress;

    //第三段返回搬运结果地址位
    @TableField("three_return_result")
    private Integer threeReturnResult;
}
